<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0060)http://user.huway.com/uc/msg/plist?plid=12641&sender=1273466 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css" id="972708025499"></style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>中华户外网-谈话</title>
<jsp:include page="personcommonref.jsp"></jsp:include>
</head>

<body id="user">
	<div class="user_cover_bg"></div>
	<!--user box begin-->
	<div class="user_box">
		<%--	公共头部	 --%>
		<jsp:include page="indexHead.jsp"></jsp:include>

		<%--	个人信息公共	begin --%>
		<!--banner begin-->
		<div class="banner_box">
		    <img src="../images/user_banner1.jpg" />
		</div>
		<!--banner end-->
		
		<div class="user_info_box clearfix">
			<div class="user_box_lt">
		    <div class="user_box_lt_bg"></div>
		    <div class="user_box_lt_cont">
		        <div class="user_box_lt_top">
		            <div class="user_box_lt_header">
		                <img src="${session.user.headImg }">
		                <h4>
		                	${session.user.nickName}
		                    <img src="../images/user_focus_b.png">
		                </h4>
		            </div>
		
		        </div>
		        <ul>
		            <li ><a href="personinfo.jsp">我的个人资料</a></li>
		            <li><a href="PostAction_personPost.action">我的发帖</a></li>
		            <li><a href="personreply.jsp">我的回复</a></li>
		            <li><a href="personcollect.jsp">我的收藏</a></li>
		            <li><a href="personfocus.jsp">我的关注</a></li>
		            <li class="user_left_current"><a href="personmsglist.jsp">我的消息</a></li>
		            <li><a href="personhome.jsp">我的主页</a></li>
		        </ul>
		    </div>
		</div>
		<link type="text/css" href="../css/personinfo/setup.css" rel="stylesheet">
		<script type="text/javascript" src="../js/personinfo/select.js"></script>
		<%--	个人信息公共	end  --%>

		<div class="user_box_rg">
			<div class="user_collect">

				<div class="reply_box">
					<h4>与建辉的谈话</h4>
					<div class="reply_up">
						<div class="line_detail_yinan">
							<div class="line_detail_yinan_up">
								<div class="line_detail_yinan_up_lt">
									<img src="./中华户外网-私信回复_files/avatar(2).php">
								</div>
								<div class="line_detail_yinan_up_rg">
									<p class="line_detail_yinan_up_rg_name">
										<span>建辉</span><em>2016-05-02 15:51:50</em>
									</p>
									<p class="line_detail_yinan_up_rg_pro">
										<em>“</em><span>你好</span><em>”</em>
									</p>
								</div>
							</div>
							<div class="line_detail_yinan_down">
								<div class="line_detail_yinan_down_lt">
									<p>哈哈，大街网都讲完了快到家了我觉得就了开发及来看温度计网络卡的健康我安静的
										大街网来看点击拉我看得见快来我家的刻录机挖坑来得及看来我jdk文件的刻录机覅饿哦我姐夫我我玩儿交警抵抗力差健康色米偶尔接我放假东方均为家里的了见覅薇恩放假我耳机头我人v麦克米路口为将诶哦
										讲完了快到家了我觉得就了开发及来看温度计网络卡的健康我安静的
										大街网来看点击拉我看得见快来我家的刻录机挖坑来得及看来我jdk文件的刻录机覅饿哦我姐夫我我玩儿交警抵抗力差健康色米偶尔接我放假东方均为家里的了见覅薇恩放假我耳机头我人v麦克米路口为将诶哦
										讲完了快到家了我觉得就了开发及来看温度计网络卡的健康我安静的
										大街网来看点击拉我看得见快来我家的刻录机挖坑来得及看来我jdk文件的刻录机覅饿哦我姐夫我我玩儿交警抵抗力差健康色米偶尔接我放假东方均为家里的了见覅薇恩放假我耳机头我人v麦克米路口为将诶哦
									</p>
									<div>
										<img src="./中华户外网-私信回复_files/arrow_right.jpg">
									</div>
								</div>
								<div class="line_detail_yinan_down_rg">
									<img src="./中华户外网-私信回复_files/avatar(3).php">
								</div>
							</div>
							<div class="line_detail_yinan_down">
								<div class="line_detail_yinan_down_lt">
									<p>的伟大地方awful安抚法定发服务发我服务等今晚点击爱我就发了我联发科角度来看就完了肯德基案例可我觉得离开家 发</p>
									<div>
										<img src="./中华户外网-私信回复_files/arrow_right.jpg">
									</div>
								</div>
								<div class="line_detail_yinan_down_rg">
									<img src="./中华户外网-私信回复_files/avatar(4).php">
								</div>
							</div>
						</div>
					</div>
					<div class="reply_down">
						<div class="line_detail_yinan_txt">
							<input type="hidden" name="touid" value="1273466" id="touid">
							<textarea rows="" cols="" id="content" placeholder="输入文字"></textarea>
							<input type="submit" id="submit" value="发送">
						</div>
					</div>

				</div>


			</div>


		</div>
		<!-- footer end-->
		<script type="text/javascript">
			$(function() {
				var lock = false;
				$(".user_private_box")
						.find("li")
						.hover(
								function() {
									$(this).css('border', '1px solid #f1a400');
									$(this)
											.find('.btn span')
											.css(
													"background-image",
													"url(http://cdn.huway.com/ucstatic/static/web/images/user_order_delete_hover.png?v=1.0)");
								},
								function() {
									$(this).css('border', '1px solid #fff');
									$(this)
											.find('.btn span')
											.css(
													"background-image",
													"url(http://cdn.huway.com/ucstatic/static/web/images/user_order_delete.png?v=1.0)");
								});

				$("#submit")
						.click(
								function() {
									var touid = $("#touid").val();
									var content = $("#content").val();

									if (!content) {
										alert("请输入内容");
										return false;
									}
									if (lock) {
										return false;
									}
									lock = true;
									$
											.ajax({
												type : "POST",
												url : "/uc/msg/reply",
												data : {
													touids : touid,
													content : content
												},
												dataType : "json",
												success : function(data) {
													lock = false;
													if (data.status == 2000) {
														var html = '';
														html += '<div class="line_detail_yinan_down"><div class="line_detail_yinan_down_lt"><p>'
																+ data.info.content
																+ '</p><div><img src="http://cdn.huway.com/ucstatic/static/web/images/arrow_right.jpg?v=1.0"/> </div></div><div class="line_detail_yinan_down_rg"><img src="http://uc.huway.com/avatar.php?uid='
																+ data.info.send_uid
																+ '&w=80&h=80&v='
																+ data.info.dateline
																+ '"/></div></div>';
														$("#content").val("");
														$(".line_detail_yinan")
																.append(html);
													}
												}
											});
								});

				$.get('/helper/unread/count', {}, function(result) {
					if (result.status == 2000) {
						if (result.newpm > 0) {
							$("#newsystem").html("(" + result.newpm + ")");
						}
						if (result.newprivatepm > 0) {
							$("#newprivate").html(
									"(" + result.newprivatepm + ")");
						}
						if (result.newnotice > 0) {
							$("#newnotice").html("(" + result.newnotice + ")");
						}
					}
				}, 'json');

			})
		</script>

	</div>

	</div>
	<!--user box end-->
	<%--	公共底部	 --%>
	<jsp:include page="indexFooter.jsp" />

</body>
</html>